all: libnat64.so

distclean:
	rm -f *.o *.so

libnat64.so: libnat64.o
	gcc -shared libnat64.o -ldl -o libnat64.so

libnat64.o: libnat64.c
	gcc -fPIC -D_GNU_SOURCE=1 -c -Wall libnat64.c

package:
	dpkg-buildpackage -rfakeroot -b
